﻿package 
{
	import starling.display.MovieClip;
	import feathers.controls.Button;
	import com.theme.AzureMobileTheme;
	import flash.events.Event;
	import starling.textures.*;
	import feathers.display.Scale3Image;

	public class testUI extends MovieClip
	{
		private var theme:AzureMobileTheme;
	
		public function testUI()
		{
			// constructor code
			super(null);
			var button:Button = new Button();
			button.label = "Click Me";
			this.addChild( button );
		}
		public function Main()
		{
			this.addEventListener( Event.ADDED_TO_STAGE, addedToStageHandler );
		}

		private function addedToStageHandler( event:Event ):void
		{
			this.theme = new AzureMobileTheme( this.stage );
		}

	}

}